.section ".text"

.set OFFSET, -2048

.globl _test
_test:
	/* Test 1 将 0x80200000 加载到a1寄存器 */
    addi sp,sp,-16

	sd t0, 8(sp)
	sd t1, 0(sp)
	
    nop
    auipc t0, 1
    addi t0, t0, OFFSET
    ld t1, OFFSET(t0)

	ld t1, 0(sp)
	ld t0, 8(sp)
	addi sp,sp,16
	/* Test End */

	/* goto C */
	tail kernel_main
